package com.aaa.service.impl;

import com.aaa.dao.UnitDao;
import com.aaa.dao.impl.UnitDaoImpl;
import com.aaa.entity.Unit;
import com.aaa.service.UnitService;

import java.util.List;

public class UnitServiceImpl implements UnitService {
    UnitDao unitDao = new UnitDaoImpl();

    @Override
    public List<Unit> getUnitList() {
        return unitDao.getUnitList();
    }
}
